//生活垃圾运输
function selectInfo(url) {
  getAjxx({id: 'getAjWin', title: '已结案件信息', w: 640, h: 400},url);
}


function getAjxx(f,url) {
  var w = 350;
  var h = 160;
  if (f.w) w = f.w;
  if (f.h) h = f.h;
  var baGrid = new Ext.ux.grid.baGrid({
    region: 'center',
    layout: 'fit',
    tplcode: f.tplcode,
    margins: '1 1 1 1',
    url: url,
    keyField: 'id',
    defaultSortField: 'slrq',
    structure: [{
      name: 'insId',
      hidden: true
    },{
      name: 'tempName',
      header: '审批业务',
      width: 350
    },{
      name: 'slrq',
      header: '受理日期',
      width: 100
    }]
  });
  
  var store = baGrid.store;
  new Ext.Window({
    id        : f.id,
    title     : f.title,
    width     : w,
    height    : h,
    iconCls   : 'icon_title',
    layout    : 'fit',
    modal     : true,
    plain     : true,
    resizeable: false,
    items     : [baGrid]
  }).show();
  

}

		